package com.kandinfo.survey.weixin.service;

import java.util.List;

import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;

import com.kandinfo.survey.weixin.mongo.WxConfigure;


public interface WxConfigureService {

	WxConfigure save(WxConfigure wxConfigure);

	WxConfigure findOne(String id);

	void delete(WxConfigure wxConfigure);

	List<WxConfigure> findAll(List<String> idList);

	List<WxConfigure> findAll();

	void saveAll(List<WxConfigure> dtos);

	List<WxConfigure> findByCriteria(Criteria criteria);

	List<WxConfigure> findByQuery(Query query);

	long count(Criteria criteria);
}
